That way the notification at least still follows the global settings.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8740
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3921>
this._updateNavButton(this._prevButton, this._player.canGoPrevious);
this._updateNavButton(this._nextButton, this._player.canGoNext);
- const appId = this._player.app?.id.replace(/\.desktop$/, '');
+ const appId = this._player.app?.id.replace(/\.desktop$/, '') ?? 'generic';
if (this._policy?.id !== appId) {
this._policy?.disconnectObject(this);